package com.xqboss.apps.dto.consumer;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.xqboss.apps.dto.PageDto;
import com.xqboss.apps.enums.consumer.ConsumerApplyStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 好友申请表
 *
 * @author wangcong
 * @date 2023-08-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("好友申请dto")
public class ConsumerFriendsApplyDto extends PageDto {

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("发起用户id")
    private Long initUserId;

    @ApiModelProperty("1_待处理,2_已同意,3_已拒绝")
    private ConsumerApplyStatusEnum status;

    @ApiModelProperty("接收人id")
    private Long receiveUserId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("1好友申请，2我的申请")
    private Integer applyType;

    @TableLogic
    @ApiModelProperty("删除标识")
    private Integer delFlag;

    @ApiModelProperty("联系人昵称")
    private String nickName;


}
